package org.hxyjs.entity;

import java.io.Serializable;

public class Chart implements Serializable {
    //无论 饼状图 柱状图 折线图 都只需要 3组值，
    //样本数据  1 java1班   60人
    //         2 java2班   40人
    private Integer no;//编号
    private String  name;//选项名称
    private Integer value;//选项值
    private String comment;//选项备注
    private String typeName;//选项类型名称

    public Chart() {
    }

    public Chart(Integer no, String name, Integer value) {
        this.no = no;
        this.name = name;
        this.value = value;
    }

    public Chart(Integer no, String name, Integer value, String comment) {
        this.no = no;
        this.name = name;
        this.value = value;
        this.comment = comment;
    }

    public Integer getNo() {
        return no;
    }

    public void setNo(Integer no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Chart(Integer no, String name, Integer value, String comment, String typeName) {
        this.no = no;
        this.name = name;
        this.value = value;
        this.comment = comment;
        this.typeName = typeName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}
